Skip to content

docs: release notes for 0.17.0#505

Merged
makspll merged 1 commit intomainfrom
docs/release-notes
Jan 25, 2026
Merged

docs: release notes for 0.17.0#505
makspll merged 1 commit intomainfrom
docs/release-notes

Conversation

@makspll
Copy link
Owner

@makspll makspll commented Jan 25, 2026

Summary

Finally add release notes

@semanticdiff-com
Copy link

Review changes with  SemanticDiff

@makspll makspll merged commit aa3cbe7 into main Jan 25, 2026
7 checks passed
@makspll makspll deleted the docs/release-notes branch January 25, 2026 11:27
@github-actions
Copy link
Contributor

🔍 Binding Differences Detected

The following changes were detected in generated bindings:

b/crates/bindings/bevy_reflect_bms_bindings/src/lib.rs
index 14955f8..84311bf 100644
--- a/crates/bindings/bevy_reflect_bms_bindings/src/lib.rs
+++ b/crates/bindings/bevy_reflect_bms_bindings/src/lib.rs
@@ -3160,6 +3160,23 @@ pub(crate) fn register_vec_3_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::Vec3>| {
+                let output: Val<::glam::Vec3> = {
+                    {
+                        let output: Val<::glam::Vec3> = ::glam::Vec3::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "extend",
             |_self: Val<::glam::Vec3>, w: f32| {
@@ -3244,6 +3261,23 @@ pub(crate) fn register_vec_3_functions(world: &mut World) {
             " Creates a new vector from an array.",
             &["a"],
         )
+        .register_documented(
+            "from_homogeneous",
+            |v: Val<::glam::Vec4>| {
+                let output: Val<::glam::Vec3> = {
+                    {
+                        let output: Val<::glam::Vec3> = ::glam::Vec3::from_homogeneous(
+                                v.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Projects a homogeneous coordinate to 3D space by performing perspective divide.\n # Panics\n Will panic if `v.w` is `0` when `glam_assert` is enabled.",
+            &["v"],
+        )
         .register_documented(
             "is_finite",
             |_self: Val<::glam::Vec3>| {
@@ -3408,6 +3442,40 @@ pub(crate) fn register_vec_3_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::Vec3>| {
+                let output: Val<::glam::Vec3> = {
+                    {
+                        let output: Val<::glam::Vec3> = ::glam::Vec3::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::Vec3>| {
+                let output: Val<::glam::Vec3> = {
+                    {
+                        let output: Val<::glam::Vec3> = ::glam::Vec3::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::Vec3>, rhs: Val<::glam::Vec3>| {
@@ -4159,6 +4227,23 @@ pub(crate) fn register_vec_3_functions(world: &mut World) {
             " Converts `self` to `[x, y, z]`",
             &["_self"],
         )
+        .register_documented(
+            "to_homogeneous",
+            |_self: Val<::glam::Vec3>| {
+                let output: Val<::glam::Vec4> = {
+                    {
+                        let output: Val<::glam::Vec4> = ::glam::Vec3::to_homogeneous(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Creates a homogeneous coordinate from `self`, equivalent to `self.extend(1.0)`.",
+            &["_self"],
+        )
         .register_documented(
             "to_vec3a",
             |_self: Val<::glam::Vec3>| {
@@ -35692,6 +35777,23 @@ pub(crate) fn register_vec_2_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::Vec2>| {
+                let output: Val<::glam::Vec2> = {
+                    {
+                        let output: Val<::glam::Vec2> = ::glam::Vec2::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "extend",
             |_self: Val<::glam::Vec2>, z: f32| {
@@ -35955,6 +36057,40 @@ pub(crate) fn register_vec_2_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::Vec2>| {
+                let output: Val<::glam::Vec2> = {
+                    {
+                        let output: Val<::glam::Vec2> = ::glam::Vec2::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::Vec2>| {
+                let output: Val<::glam::Vec2> = {
+                    {
+                        let output: Val<::glam::Vec2> = ::glam::Vec2::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::Vec2>, rhs: Val<::glam::Vec2>| {
@@ -37491,6 +37627,23 @@ pub(crate) fn register_vec_3_a_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::Vec3A>| {
+                let output: Val<::glam::Vec3A> = {
+                    {
+                        let output: Val<::glam::Vec3A> = ::glam::Vec3A::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "extend",
             |_self: Val<::glam::Vec3A>, w: f32| {
@@ -37575,6 +37728,23 @@ pub(crate) fn register_vec_3_a_functions(world: &mut World) {
             " Creates a new vector from an array.",
             &["a"],
         )
+        .register_documented(
+            "from_homogeneous",
+            |v: Val<::glam::Vec4>| {
+                let output: Val<::glam::Vec3A> = {
+                    {
+                        let output: Val<::glam::Vec3A> = ::glam::Vec3A::from_homogeneous(
+                                v.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Projects a homogeneous coordinate to 3D space by performing perspective divide.\n # Panics\n Will panic if `v.w` is `0` when `glam_assert` is enabled.",
+            &["v"],
+        )
         .register_documented(
             "from_vec4",
             |v: Val<::glam::Vec4>| {
@@ -37756,6 +37926,40 @@ pub(crate) fn register_vec_3_a_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::Vec3A>| {
+                let output: Val<::glam::Vec3A> = {
+                    {
+                        let output: Val<::glam::Vec3A> = ::glam::Vec3A::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::Vec3A>| {
+                let output: Val<::glam::Vec3A> = {
+                    {
+                        let output: Val<::glam::Vec3A> = ::glam::Vec3A::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::Vec3A>, rhs: Val<::glam::Vec3A>| {
@@ -38507,6 +38711,23 @@ pub(crate) fn register_vec_3_a_functions(world: &mut World) {
             " Converts `self` to `[x, y, z]`",
             &["_self"],
         )
+        .register_documented(
+            "to_homogeneous",
+            |_self: Val<::glam::Vec3A>| {
+                let output: Val<::glam::Vec4> = {
+                    {
+                        let output: Val<::glam::Vec4> = ::glam::Vec3A::to_homogeneous(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Creates a homogeneous coordinate from `self`, equivalent to `self.extend(1.0)`.",
+            &["_self"],
+        )
         .register_documented(
             "to_vec3",
             |_self: Val<::glam::Vec3A>| {
@@ -39291,6 +39512,23 @@ pub(crate) fn register_vec_4_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::Vec4>| {
+                let output: Val<::glam::Vec4> = {
+                    {
+                        let output: Val<::glam::Vec4> = ::glam::Vec4::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "floor",
             |_self: Val<::glam::Vec4>| {
@@ -39521,6 +39759,40 @@ pub(crate) fn register_vec_4_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::Vec4>| {
+                let output: Val<::glam::Vec4> = {
+                    {
+                        let output: Val<::glam::Vec4> = ::glam::Vec4::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::Vec4>| {
+                let output: Val<::glam::Vec4> = {
+                    {
+                        let output: Val<::glam::Vec4> = ::glam::Vec4::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::Vec4>, rhs: Val<::glam::Vec4>| {
@@ -39830,6 +40102,23 @@ pub(crate) fn register_vec_4_functions(world: &mut World) {
             " Returns a vector containing each element of `self` raised to the power of `n`.",
             &["_self", "n"],
         )
+        .register_documented(
+            "project",
+            |_self: Val<::glam::Vec4>| {
+                let output: Val<::glam::Vec3> = {
+                    {
+                        let output: Val<::glam::Vec3> = ::glam::Vec4::project(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Projects a homogeneous coordinate to 3D space by performing perspective divide.\n To project to [`Vec3A`] use [`Vec3A::from_homogeneous()`].\n # Panics\n Will panic if `self.w` is `0` when `glam_assert` is enabled.",
+            &["_self"],
+        )
         .register_documented(
             "project_onto",
             |_self: Val<::glam::Vec4>, rhs: Val<::glam::Vec4>| {
@@ -41514,6 +41803,23 @@ pub(crate) fn register_d_vec_2_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::DVec2>| {
+                let output: Val<::glam::DVec2> = {
+                    {
+                        let output: Val<::glam::DVec2> = ::glam::DVec2::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "extend",
             |_self: Val<::glam::DVec2>, z: f64| {
@@ -41777,6 +42083,40 @@ pub(crate) fn register_d_vec_2_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::DVec2>| {
+                let output: Val<::glam::DVec2> = {
+                    {
+                        let output: Val<::glam::DVec2> = ::glam::DVec2::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::DVec2>| {
+                let output: Val<::glam::DVec2> = {
+                    {
+                        let output: Val<::glam::DVec2> = ::glam::DVec2::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::DVec2>, rhs: Val<::glam::DVec2>| {
@@ -43328,6 +43668,23 @@ pub(crate) fn register_d_vec_3_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::DVec3>| {
+                let output: Val<::glam::DVec3> = {
+                    {
+                        let output: Val<::glam::DVec3> = ::glam::DVec3::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "extend",
             |_self: Val<::glam::DVec3>, w: f64| {
@@ -43412,6 +43769,23 @@ pub(crate) fn register_d_vec_3_functions(world: &mut World) {
             " Creates a new vector from an array.",
             &["a"],
         )
+        .register_documented(
+            "from_homogeneous",
+            |v: Val<::glam::DVec4>| {
+                let output: Val<::glam::DVec3> = {
+                    {
+                        let output: Val<::glam::DVec3> = ::glam::DVec3::from_homogeneous(
+                                v.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Projects a homogeneous coordinate to 3D space by performing perspective divide.\n # Panics\n Will panic if `v.w` is `0` when `glam_assert` is enabled.",
+            &["v"],
+        )
         .register_documented(
             "is_finite",
             |_self: Val<::glam::DVec3>| {
@@ -43576,6 +43950,40 @@ pub(crate) fn register_d_vec_3_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::DVec3>| {
+                let output: Val<::glam::DVec3> = {
+                    {
+                        let output: Val<::glam::DVec3> = ::glam::DVec3::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::DVec3>| {
+                let output: Val<::glam::DVec3> = {
+                    {
+                        let output: Val<::glam::DVec3> = ::glam::DVec3::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::DVec3>, rhs: Val<::glam::DVec3>| {
@@ -44327,6 +44735,23 @@ pub(crate) fn register_d_vec_3_functions(world: &mut World) {
             " Converts `self` to `[x, y, z]`",
             &["_self"],
         )
+        .register_documented(
+            "to_homogeneous",
+            |_self: Val<::glam::DVec3>| {
+                let output: Val<::glam::DVec4> = {
+                    {
+                        let output: Val<::glam::DVec4> = ::glam::DVec3::to_homogeneous(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Creates a homogeneous coordinate from `self`, equivalent to `self.extend(1.0)`.",
+            &["_self"],
+        )
         .register_documented(
             "trunc",
             |_self: Val<::glam::DVec3>| {
@@ -45102,6 +45527,23 @@ pub(crate) fn register_d_vec_4_functions(world: &mut World) {
             " Returns a vector containing `e^self` (the exponential function) for each element of\n `self`.",
             &["_self"],
         )
+        .register_documented(
+            "exp2",
+            |_self: Val<::glam::DVec4>| {
+                let output: Val<::glam::DVec4> = {
+                    {
+                        let output: Val<::glam::DVec4> = ::glam::DVec4::exp2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing `2^self` for each element of `self`.",
+            &["_self"],
+        )
         .register_documented(
             "floor",
             |_self: Val<::glam::DVec4>| {
@@ -45332,6 +45774,40 @@ pub(crate) fn register_d_vec_4_functions(world: &mut World) {
             " Performs a linear interpolation between `self` and `rhs` based on the value `s`.\n When `s` is `0.0`, the result will be equal to `self`.  When `s` is `1.0`, the result\n will be equal to `rhs`. When `s` is outside of range `[0, 1]`, the result is linearly\n extrapolated.",
             &["_self", "rhs", "s"],
         )
+        .register_documented(
+            "ln",
+            |_self: Val<::glam::DVec4>| {
+                let output: Val<::glam::DVec4> = {
+                    {
+                        let output: Val<::glam::DVec4> = ::glam::DVec4::ln(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the natural logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
+        .register_documented(
+            "log2",
+            |_self: Val<::glam::DVec4>| {
+                let output: Val<::glam::DVec4> = {
+                    {
+                        let output: Val<::glam::DVec4> = ::glam::DVec4::log2(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Returns a vector containing the base 2 logarithm for each element of `self`.\n This returns NaN when the element is negative and negative infinity when the element is zero.",
+            &["_self"],
+        )
         .register_documented(
             "max",
             |_self: Val<::glam::DVec4>, rhs: Val<::glam::DVec4>| {
@@ -45641,6 +46117,23 @@ pub(crate) fn register_d_vec_4_functions(world: &mut World) {
             " Returns a vector containing each element of `self` raised to the power of `n`.",
             &["_self", "n"],
         )
+        .register_documented(
+            "project",
+            |_self: Val<::glam::DVec4>| {
+                let output: Val<::glam::DVec3> = {
+                    {
+                        let output: Val<::glam::DVec3> = ::glam::DVec4::project(
+                                _self.into_inner(),
+                            )
+                            .into();
+                        output
+                    }
+                };
+                output
+            },
+            " Projects a homogeneous coordinate to 3D space by performing perspective divide.\n # Panics\n Will panic if `self.w` is `0` when `glam_assert` is enabled.",
+            &["_self"],
+        )
         .register_documented(
             "project_onto",
             |_self: Val<::glam::DVec4>, rhs: Val<::glam::DVec4>| {
@@ -56557,7 +57050,7 @@ pub(crate) fn register_uuid_functions(world: &mut World) {
                 };
                 output
             },
-            " Creates a UUID using the supplied bytes in little endian order.\n The individual fields encoded in the buffer will be flipped.\n # Examples\n Basic usage:\n ```\n # fn main() -> Result<(), uuid::Error> {\n # use uuid::Uuid;\n let bytes = [\n     0xa1, 0xa2, 0xa3, 0xa4,\n     0xb1, 0xb2,\n     0xc1, 0xc2,\n     0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8,\n ];\n let uuid = Uuid::from_bytes_le(bytes);\n assert_eq!(\n     \"a4a3a2a1-b2b1-c2c1-d1d2-d3d4d5d6d7d8\",\n     uuid.hyphenated().to_string(),\n );\n # Ok(())\n # }\n ```",
+            " Creates a UUID using the supplied bytes in little endian order.\n Note that ordering is applied to each _field_, rather than to the bytes as a whole.\n This ordering is compatible with Microsoft's mixed endian GUID format.\n # Examples\n Basic usage:\n ```\n # fn main() -> Result<(), uuid::Error> {\n # use uuid::Uuid;\n let bytes = [\n     0xa1, 0xa2, 0xa3, 0xa4,\n     0xb1, 0xb2,\n     0xc1, 0xc2,\n     0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8,\n ];\n let uuid = Uuid::from_bytes_le(bytes);\n assert_eq!(\n     \"a4a3a2a1-b2b1-c2c1-d1d2-d3d4d5d6d7d8\",\n     uuid.hyphenated().to_string(),\n );\n # Ok(())\n # }\n ```",
             &["b"],
         )
         .register_documented(
@@ -56737,7 +57230,7 @@ pub(crate) fn register_uuid_functions(world: &mut World) {
                 };
                 output
             },
-            " Returns the bytes of the UUID in little-endian order.\n The bytes will be flipped to convert into little-endian order. This is\n based on the endianness of the UUID, rather than the target environment\n so bytes will be flipped on both big and little endian machines.\n # Examples\n ```\n use uuid::Uuid;\n # fn main() -> Result<(), uuid::Error> {\n let uuid = Uuid::parse_str(\"a1a2a3a4-b1b2-c1c2-d1d2-d3d4d5d6d7d8\")?;\n assert_eq!(\n     uuid.to_bytes_le(),\n     ([\n         0xa4, 0xa3, 0xa2, 0xa1, 0xb2, 0xb1, 0xc2, 0xc1, 0xd1, 0xd2,\n         0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8\n     ])\n );\n # Ok(())\n # }\n ```",
+            " Returns the bytes of the UUID in little-endian order.\n The bytes for each field will be flipped to convert into little-endian order.\n This is based on the endianness of the UUID, rather than the target environment\n so bytes will be flipped on both big and little endian machines.\n Note that ordering is applied to each _field_, rather than to the bytes as a whole.\n This ordering is compatible with Microsoft's mixed endian GUID format.\n # Examples\n ```\n use uuid::Uuid;\n # fn main() -> Result<(), uuid::Error> {\n let uuid = Uuid::parse_str(\"a1a2a3a4-b1b2-c1c2-d1d2-d3d4d5d6d7d8\")?;\n assert_eq!(\n     uuid.to_bytes_le(),\n     ([\n         0xa4, 0xa3, 0xa2, 0xa1, 0xb2, 0xb1, 0xc2, 0xc1, 0xd1, 0xd2,\n         0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8\n     ])\n );\n # Ok(())\n # }\n ```",
             &["_self"],
         )
         .register_documented(

@github-actions
Copy link
Contributor

🐰 Bencher Report

Branchdocs/release-notes
Testbedlinux-gha
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
component/access Lua📈 view plot
🚷 view threshold
5,787.10 ns
(+22.29%)Baseline: 4,732.26 ns
6,129.20 ns
(94.42%)
component/access Rhai📈 view plot
🚷 view threshold
9,292.10 ns
(+37.88%)Baseline: 6,739.15 ns
10,179.89 ns
(91.28%)
component/get Lua📈 view plot
🚷 view threshold
2,868.40 ns
(-1.87%)Baseline: 2,923.19 ns
3,123.33 ns
(91.84%)
component/get Rhai📈 view plot
🚷 view threshold
8,019.00 ns
(+51.44%)Baseline: 5,295.02 ns
8,994.80 ns
(89.15%)
conversions/Mut::from📈 view plot
🚷 view threshold
87.54 ns
(-14.78%)Baseline: 102.73 ns
124.24 ns
(70.46%)
conversions/Ref::from📈 view plot
🚷 view threshold
83.42 ns
(-15.55%)Baseline: 98.78 ns
119.76 ns
(69.66%)
conversions/ScriptValue::List📈 view plot
🚷 view threshold
372.23 ns
(-4.86%)Baseline: 391.23 ns
448.56 ns
(82.98%)
conversions/ScriptValue::Map📈 view plot
🚷 view threshold
1,205.20 ns
(+0.71%)Baseline: 1,196.65 ns
1,366.21 ns
(88.22%)
conversions/ScriptValue::Reference::from_into📈 view plot
🚷 view threshold
25.05 ns
(-11.96%)Baseline: 28.46 ns
33.52 ns
(74.74%)
conversions/Val::from_into📈 view plot
🚷 view threshold
284.37 ns
(-9.98%)Baseline: 315.91 ns
400.98 ns
(70.92%)
function/call 4 args Lua📈 view plot
🚷 view threshold
1,927.60 ns
(-9.73%)Baseline: 2,135.46 ns
2,474.05 ns
(77.91%)
function/call 4 args Rhai📈 view plot
🚷 view threshold
1,447.80 ns
(-7.06%)Baseline: 1,557.85 ns
1,753.33 ns
(82.57%)
function/call Lua📈 view plot
🚷 view threshold
404.13 ns
(-6.47%)Baseline: 432.09 ns
491.12 ns
(82.29%)
function/call Rhai📈 view plot
🚷 view threshold
500.68 ns
(+1.47%)Baseline: 493.42 ns
548.68 ns
(91.25%)
loading/empty Lua📈 view plot
🚷 view threshold
972,520.00 ns
(-8.98%)Baseline: 1,068,428.00 ns
1,521,220.08 ns
(63.93%)
loading/empty Rhai📈 view plot
🚷 view threshold
1,194,000.00 ns
(-10.06%)Baseline: 1,327,624.00 ns
2,031,101.96 ns
(58.79%)
math/vec mat ops Lua📈 view plot
🚷 view threshold
10,124.00 ns
(+15.33%)Baseline: 8,778.13 ns
10,711.23 ns
(94.52%)
math/vec mat ops Rhai📈 view plot
🚷 view threshold
9,746.10 ns
(+23.18%)Baseline: 7,912.09 ns
10,362.10 ns
(94.06%)
query/10 entities Lua📈 view plot
🚷 view threshold
20,302.00 ns
(-17.51%)Baseline: 24,610.10 ns
28,839.87 ns
(70.40%)
query/10 entities Rhai📈 view plot
🚷 view threshold
28,560.00 ns
(+20.88%)Baseline: 23,626.50 ns
30,748.64 ns
(92.88%)
query/100 entities Lua📈 view plot
🚷 view threshold
41,093.00 ns
(-12.26%)Baseline: 46,837.30 ns
53,471.28 ns
(76.85%)
query/100 entities Rhai📈 view plot
🚷 view threshold
41,484.00 ns
(+9.08%)Baseline: 38,030.20 ns
44,169.75 ns
(93.92%)
query/1000 entities Lua📈 view plot
🚷 view threshold
253,170.00 ns
(-17.22%)Baseline: 305,835.00 ns
381,109.01 ns
(66.43%)
query/1000 entities Rhai📈 view plot
🚷 view threshold
173,710.00 ns
(-9.21%)Baseline: 191,341.00 ns
224,590.87 ns
(77.35%)
reflection/10 Lua📈 view plot
🚷 view threshold
5,349.70 ns
(-12.33%)Baseline: 6,102.37 ns
7,069.11 ns
(75.68%)
reflection/10 Rhai📈 view plot
🚷 view threshold
14,798.00 ns
(-6.79%)Baseline: 15,875.30 ns
17,252.93 ns
(85.77%)
reflection/100 Lua📈 view plot
🚷 view threshold
44,783.00 ns
(-13.43%)Baseline: 51,729.60 ns
60,765.28 ns
(73.70%)
reflection/100 Rhai📈 view plot
🚷 view threshold
620,330.00 ns
(-19.66%)Baseline: 772,089.00 ns
1,001,087.70 ns
(61.97%)
resource/access Lua📈 view plot
🚷 view threshold
4,024.40 ns
(-0.90%)Baseline: 4,060.94 ns
4,316.68 ns
(93.23%)
resource/access Rhai📈 view plot
🚷 view threshold
8,758.00 ns
(+41.24%)Baseline: 6,200.66 ns
9,598.29 ns
(91.25%)
resource/get Lua📈 view plot
🚷 view threshold
2,626.60 ns
(+3.36%)Baseline: 2,541.14 ns
2,874.95 ns
(91.36%)
resource/get Rhai📈 view plot
🚷 view threshold
7,580.80 ns
(+57.21%)Baseline: 4,821.97 ns
8,524.79 ns
(88.93%)
🐰 View full continuous benchmarking report in Bencher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant